package info.techgeek.labs.threads;

public class Thread1 {

	int x=0;
	public class Runner implements Runnable{
		
		public void run(){
			int current = 0;
			for(int i=0;i<4;i++){
				current = x;
				System.out.print(current + ", ");
				x = current +2 ;
			}
		}
		
	}
	
	public void go(){
		Runnable runnable = new Runner();
		
		new Thread(runnable).start();
//		new Thread(runnable).start();
		
	}
	
	public static void main(String[] args) {
		
		new Thread1().go();
		
		
	}
	
}
